package cn.usian.basicInformation.sensitivewords.service;

import cn.usian.dto.basicInformation.sensitivewords.BaseSensitiveWordsDto;
import cn.usian.pojo.Result;
import cn.usian.pojo.basicInformation.sensitivewords.BaseSensitiveWords;
import com.github.pagehelper.PageInfo;

import java.util.Set;

public interface ISensitiveWordsService {
    PageInfo<BaseSensitiveWords> list(BaseSensitiveWordsDto sensitiveWords);

    Result save(BaseSensitiveWords sensitiveWords);

    BaseSensitiveWords findById(long id);

    Set<String> sensitiveWordFiltering(String text);

    Result insert(BaseSensitiveWords sensitiveWords);

    Result update(BaseSensitiveWords sensitiveWords);
}
